<?php
defined('_JEXEC') or die('Restricted access');
$tmpl = JRequest::getVar("tmpl");

?>
<div class='tab_content' id="tab_list_login">
	<div class='container-fluid margin10'>
		<div class='row-fluid'>
			<div style="text-align:center">
			<img src="<?php echo JUri::root(true) ?>/templates/ketnoi/assets/img/logo.png" />
			</div>
			<br>
			<form action="index.php" method="post" id="form_login" class="form-inline">
				<div class="control-group">
					<div class="controls">
					  <div class="input-prepend">
					    	<span class="add-on"><i class="icon-user hasTooltip" data-placement="left" data-original-title="User Name"></i> </span>
					    	<input name="username" tabindex="1" id="mod-login-username" type="text" class="input-medium" placeholder="Tên đăng nhập" size="15">
					  </div>
					</div>
				</div>
				<div class="control-group">
					<div class="controls">
					  <div class="input-prepend">
					    	<span class="add-on"><i class="icon-lock hasTooltip" data-placement="left" data-original-title="Password"></i> 
					    	</span>
					    	<input name="password" tabindex="2" id="mod-login-password" type="password" class="input-medium" placeholder="Mật khẩu" size="15">
					  </div>
					 </div>
				</div>
				<div class="control-group">
					<div class="controls">
						<div class="btn-group pull-left">
							<button type="submit" tabindex="3" class="btn btn-primary btn-large"><i class="icon-lock icon-white"></i> Log in</button>
						</div>
					</div>
				</div>
				<input type="hidden" name="option" value="com_ketnoi">
				<input type="hidden" name="task" value="login.login">
				<input type="hidden" name="view" value="login">
				<input type="hidden" name="tmpl" value="login">
				<?php echo JHtml::_('form.token'); ?>
			</form>
		</div>
	</div>
</div>
<script>
	$(document).ready(function(){
		initCreateLogin();
	})
</script>
